package com.zbkj.crmeb.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.crmeb.store.model.Supplier;
import com.zbkj.crmeb.store.request.AddSupplierRequest;

import java.util.List;

/**
* @author Mr.Zhang
* @Description CategoryService 接口
* @since 2020-04-16
*/
public interface SupplierService extends IService<Supplier> {

    /**
     * 获取供应商名称
     * @param suppliersId
     * @return
     */
    String getSuppliersName(String suppliersId);


    /**
     * 获取供应商的barcode
     * @author cyz
     * @date 2021/5/19 17:43
     * @param merId 
     * @return java.lang.Integer
     */
    Supplier getSupplierBarcode(Integer merId);

    List<Supplier> getVisibleSupplier(Integer merId);

    boolean addSupplier(AddSupplierRequest request);
}
